<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>添加商品</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<link href="../../css/demo.css" rel="stylesheet" type="text/css" />
	<script src="../../js/boot.js" type="text/javascript"></script>
	<script src="../../js/order/order.js" type="text/javascript"></script>
    <style type="text/css">
    html, body
    {
        font-size:12px;
        padding:0;
        margin:0;
        border:0;
        height:100%;
        overflow:hidden;
    }
    </style>
</head>
<body>    
     <!-- 数据获取到以name的方式进行装载装载到相应的位置进行显示 -->
    <form id="form1" method="post"  enctype="multipart/form-data"> 
    	<input name="userId" class="mini-hidden" id="userId"/>
        <div style="padding-left:11px;padding-bottom:5px;" >
            <table style="table-layout:fixed;margin-top:20px;align:center">
                 <tr style="padding:10px">
                 	  <td>订单号</td>
                    <td style="padding:10px">    
                        <input name="orderId" readonly="true"  style="width:180px"  class="mini-textbox" id="orderId"/>
                    </td>
                    <td>用户昵称</td>
                    <td style="padding:10px">    
                        <input name="userNickName" readonly="true"  style="width:180px"  class="mini-textbox" id="userNickName"/>
                    </td>
                    <td>用户真实姓名</td>
                    <td style="padding:10px">    
                    	<input name="userRealName" readonly="true"  style="width:180px"  class="mini-textbox" id="userRealName"/>
                    </td>
                </tr>
                <tr style="padding:10px">
                 <td>订单状态</td>
                    <td style="padding:10px">    
                        <input name="orderStatus"  id="orderStatus"  class="mini-combobox" style="width:180px;" textField="text" valueField="orderStatus" emptyText="请选择..."
    url="order_status.txt"  allowInput="true" showNullItem="true" nullItemText="请选择..."/>
                    </td>
                	<td>是否付款</td>
                    <td style="padding:10px">    
                    	<select name="orderPayStatus" readonly="true" class="mini-radiobuttonlist" id="orderPayStatus">
                        	<option value="0">未付款</option>
                        	<option value="1">已付款</option>
                    	</select>
                    </td>
                    <td>购买商品总量</td>
                    <td style="padding:10px">  
                    	 <input name="orderItemnum" readonly="true"  style="width:180px"  class="mini-textbox" id="orderItemnum"/> 
                    </td>
                </tr>
                <tr style="padding:10px">
                 	<td>订单金额</td>
                    <td style="padding:10px">    
                        <input name="orderFinalAmount" readonly="true"  style="width:180px"  class="mini-textbox" id="orderFinalAmount"/>
                    </td>
                	<td>付款金额</td>
                    <td style="padding:10px">    
                       <input name="orderPayment" readonly="true" value="0"   style="width:180px;" vtype="int" class="mini-textbox" id="orderPayment"/>
                    </td>
                    <td>用户状态</td>
                    <td style="padding:10px">   
                    	<select name="userStatus" readonly="true" class="mini-radiobuttonlist" id="userStatus">
                        	<option value="0">被禁用</option>
                        	<option value="1">可用</option>
                    	</select> 
                    </td>
                </tr>
                 <tr style="padding:10px">
                  <td>是否交货</td>
                     <td style="padding:10px">   
                    	<select name="orderIsDelivery"  class="mini-radiobuttonlist" id="orderIsDelivery">
                        	<option value="0">未交货</option>
                        	<option value="1">已交货</option>
                    	</select> 
                    </td>
                	<td>快递公司</td>
                    <td style="padding:10px">  
                    	<input name="dtName"  id="dtName"  class="mini-combobox" style="width:180px;" textField="text" valueField="dtcode" emptyText="请选择..."
    url="dtname.txt"  allowInput="true" showNullItem="true" nullItemText="请选择..."/>  
                    </td>
                    <td>快递单号</td>
                    <td style="padding:10px">    
                       <input name="dtNum"   value="0"  style="width:180px;" vtype="int" class="mini-textbox" id="dtNum"/>
                    </td>
                </tr>
                <tr style="padding:10px">
                 <td>收货人姓名</td>
                    <td style="padding:10px">    
                        <input name="orderShipName"  style="width:180px"  class="mini-textbox" id="orderShipName"/>
                    </td>
                	<td>收货地区</td>
                    <td style="padding:10px">    
                       <input name="orderShipArea"   style="width:180px;"  class="mini-textbox" id="orderShipArea"/>
                    </td>
                    <td>收货地址</td>
                    <td style="padding:10px">    
                       <input name="orderShipAddr"   style="width:180px;"  class="mini-textbox" id="orderShipAddr"/>
                    </td>
                </tr>
                <tr style="padding:10px">
                	<td>收货邮编</td>
                   <td style="padding:10px">    
                       <input name="orderShipZip"   style="width:180px;"  class="mini-textbox" id="orderShipZip"/>
                    </td>
                	<td>收货人电话</td>
                   <td style="padding:10px">    
                       <input name="orderShipTel"  style="width:180px;"  class="mini-textbox" id="orderShipTel"/>
                    </td>
                    <td>收货人邮箱</td>
                   <td style="padding:10px">    
                       <input name="orderShipEmail"  style="width:180px;"  class="mini-textbox" id="orderShipEmail"/>
                    </td>
                </tr>
                 <tr style="padding:10px">
                	<td>收货时间</td>
                   <td style="padding:10px">    
                       <input name="orderShipTime"  style="width:180px;"  class="mini-datepicker" format="yyyy-MM-dd H:mm:ss" timeFormat="H:mm:ss" showTime="true" id="orderShipTime"/>
                    </td>
                	<td>收货人手机</td>
                    <td style="padding:10px">    
                       <input name="orderShipMobile"  style="width:180px;"  class="mini-textbox" id="orderShipMobile"/>
                    </td>
                    <td>商品总金额</td>
                    <td style="padding:10px">    
                       <input name="orderCostItem"  readonly="true" style="width:180px;"  class="mini-textbox" id="orderCostItem"/>
                    </td>
                </tr>
                <tr style="padding:10px">
                 	<td>是否开发票</td>
                   	<td style="padding:10px">   
                    	<select name="orderIsTax"  class="mini-radiobuttonlist" id="orderIsTax">
                        	<option value="0">未开发票</option>
                        	<option value="1">已开发票</option>
                    	</select> 
                    </td>
                	<td>发票费率</td>
                    <td style="padding:10px">    
                       <input name="orderCostTax"  vtype="float" style="width:180px;"  class="mini-textbox" id="orderCostTax"/>
                    </td>
                    <td>发票抬头</td>
                    <td style="padding:10px">    
                       <input name="orderTaxCompany"  style="width:180px;"  class="mini-textbox" id="orderTaxCompany"/>
                    </td>
                </tr>
                <tr style="padding:10px">
                	<td>纪要</td>
                    <td style="padding:10px">    
                       <input name="orderMemo"  style="width:180px;"  class="mini-textbox" id="orderMemo"/>
                    </td>
                    <td>订单ip</td>
                    <td style="padding:10px">    
                       <input name="orderIp"  readonly="true" style="width:180px;"  class="mini-textbox" id="orderIp"/>
                    </td>
                    <td>是否刪除</td>
                    <td style="padding:10px">    
                        <select name="disabledState" class="mini-radiobuttonlist" id="disabledState">
                        	<option value="0">未刪除</option>
                        	<option value="1">刪除</option>
                    	</select>
                    </td>
                </tr>
                 <tr style="padding:10px">
                	<td>订单折扣</td>
                    <td style="padding:10px">    
                       <input name="orderDiscount" vtype="float" style="width:180px;"  class="mini-textbox" id="orderDiscount"/>
                    </td>
                    </tr>
            </table>
        </div>
        <div style="text-align:center;padding:20px;">               
            <a class="mini-button mini-button-primary" onclick="onOk" style="width:160px;margin-right:30px;">新增(更新)订单</a>       
            <a class="mini-button mini-button-primary" onclick="onCancel" style="width:160px;">取     消</a>  
        </div>        
    </form>
    <script type="text/javascript">
        mini.parse();
       	form = new mini.Form("#form1");
    </script>
</body>
</html>
